﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PraxisRent.Entities;

namespace PraxisRent.Repository
{
    public interface ICreditoRepository
    {
        List<CREDITO> GetAllFromCredito();
        List<CREDITO> GetAllFromCreditoByCliente(string criterio);
        List<CREDITO> GetAllFromCreditoByAlquiler(Int32 codAlquiler);
        CREDITO GetAllFromCreditoById(Int32 id);

        void AddCredito(CREDITO credito);
        void UpdateCredito(CREDITO credito);
    }
}
